package com.alibaba.goods.order.service.impl;

import com.alibaba.goods.order.entity.Commentresult;
import com.alibaba.goods.order.service.AccountService;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @Author:RenPu
 * @Date: 2020/7/7 18:00
 * @Version: 1.0
 * @description:
 */
//扫描注解交给spring工厂来创建
@Component
public class HanderExceptionMannager implements AccountService {

    @Override
    public Commentresult decrease(Long userId, BigDecimal money) {
        return new Commentresult( 600,"***---努力拼命加载中o(╥﹏╥)o--请稍后再试--***");
    }
}
